//
//  TravelGoCollectionCell.m
//  MiaoTu
//
//  Created by dllo on 16/9/15.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "TravelGoCollectionCell.h"
#import "Topic.h"
#import "UIImageView+WebCache.h"

@interface TravelGoCollectionCell ()
@property (weak, nonatomic) IBOutlet UIImageView *picImage;

@end

@implementation TravelGoCollectionCell

- (void)setTopic:(Topic *)topic {
    _topic = topic;
    
    [_picImage sd_setImageWithURL:[NSURL URLWithString:_topic.PicUrl] placeholderImage:[UIImage imageNamed:@"placeholderImage"]];
}

- (void)awakeFromNib {
    // Initialization code
    [super awakeFromNib];
}

@end
